//
//  AppTools.h
//  豆瓣
//
//  Created by dllo on 15/10/28.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^AppToolsBlock)(NSMutableDictionary *dic);
typedef void(^AppToolsImageBlock)(NSData *data);
typedef void(^AppToolsDataBlock)(id result);

@interface AppTools : NSObject

+ (void)getDataWithUrl:(NSString *)Url block:(AppToolsBlock)block;
+ (void)getDataWithURL:(NSString *)urlStr block:(AppToolsDataBlock)block;
+ (void)getImageWithURL:(NSString *)url block:(AppToolsImageBlock)block;

@property (nonatomic, retain)NSMutableDictionary *dic;
@end
